<html >
<meta charset="utf-8">
<head>
    <title>这是我的第一个网页</title>
    <script type="text/javascript">
         function onClick(msg){
         var mMsg = msg+"哈哈哈";
         document.write(mMsg);
         }
         function onClickAdd (a,b){
         var count = Android.add(a,b);
         document.write(count);
         }
         function Android2H5(msg){
          javascript:alert(msg);
          var htmlTab = document.getElementById("input_content");
          htmlTab.innerHTML = msg;
          //document.write(msg);
         }

    </script>

</head>
<body>
<h1 >我们开始我们的网页的学习</h1>
<h2>这个是啥</h2>
<p>lalalaalla</p>
<input value="这是我的按钮" type="button" onclick="javascript:alert('Hello world')"/><br/>
<a href ="http://baidu.com">点击我去百度</a><br/>
<div id="input_content"></div><br/>

<form>
    <label>  <input type="text" name="name"></label>
    <label> <input type="password" name="password"></label>
    <input type="submit" name="点击提交" >

</form>
<input type="button" value="这是一个点击事件" onclick="onClick('啦啦啦')"><br/>
<input type="button" value="这是什么鬼" onclick="onClickAdd('1','2')">

</body>

</html>